#ifndef SQLITE_H
#define SQLITE_H

#include "sqlite_global.h"
#include "QString"
#include "dbuse.h"
#include "QList"

//class SQLITESHARED_EXPORT Sqlite {
//public:
//    Sqlite();

//public:
   // QList<float> lst1;
   // extern "C" __declspec(dllexport) QList<float> hw();
    //extern "C" __declspec(dllexport) int getNum();
    extern "C" __declspec(dllexport) void dbClose();
    extern "C" __declspec(dllexport) bool dbInsert(ArticleStruct artStruct);
    extern "C" __declspec(dllexport) bool dbExec(QString param);
    extern "C" __declspec(dllexport) bool dbTableCreate();
    extern "C" __declspec(dllexport) bool isConnected();
    //extern "C" __declspec(dllexport) void setBDName(QString dbName);
    //extern "C" __declspec(dllexport) void setTableName(QString tableName);
    extern "C" __declspec(dllexport) bool dbConnect(QString dbName);
    extern "C" __declspec(dllexport) void getModel(QSqlTableModel *model, QString param);

//};

#endif // SQLITE_H
